﻿using System.Data;

namespace VirtualAccess
{
    public interface IDataProvider
    {
        bool IsOpened
        {
            get;
        }

        void Open();

        void Close();

        IDbCommand CreateLocalCommand();

        IDataReader CreateDataReader(IDataReader localDataReader);
    }
}
